package com.ajocer.springbootinit.model.dto.spotScore;

import com.ajocer.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 查询景点评分表请求
 * */
@EqualsAndHashCode(callSuper = true)
@Data
public class SpotScoreQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
    private Long id;
    
    /**
     * 景点id
     */
    private Long spotId;
    
    /**
     * 用户id
     */
    private Long userId;
    
    /**
     * 评分（满分5）
     */
    private Integer score;
    
    /**
     * 获取id
     * @return id
     */
    public Long getId() {
        return this.id;
    }
    
    /**
     * 获取景点id
     * @return 景点id
     */
    public Long getSpotId() {
        return this.spotId;
    }
    
    /**
     * 获取用户id
     * @return 用户id
     */
    public Long getUserId() {
        return this.userId;
    }
    
    /**
     * 设置用户id
     * @param userId 用户id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    private static final long serialVersionUID = 1L;
}